//
//  LoanMainTopView.h
//
//
//  Created by gynjobs on 2017/8/14.
//  Copyright © 2017年 gynjobs. All rights reserved.
//

#import <UIKit/UIKit.h>

#define lableH 25
#define AnimationDuration 0.5    //动画执行时间
#define CoverViewWidth (130*0.5) //底部白色控件宽度
#define SelectLableFontSize 18   //选中字体大小
#define normalLableFontSize 15   //默认大小
#define lableMargin 10

#define SelectLableTextColor  [UIColor colorWithString:@"#222633"] //选中颜色
#define normalLableTextColor  [UIColor colorWithString:@"#a5a7b2"] //常规颜色
#define RGBColor(R,G,B)  [UIColor colorWithRed:(R)/255.0 green:(G)/255.0 blue:(B)/255.0 alpha:1]

@interface LoanMainTopView : UIView
+ (instancetype)mainTopView;

/**
 *  改变选中lable
 *
 *  @param index 所需选中的序号
 */
- (void)changeSelectLableWithIndex:(NSInteger)index;


- (void)changeScrollViewWithRation:(CGFloat)offsetRation withAnimation:(BOOL)animation;

@end
